package com.ygqh.baby.service;
import java.util.Date;
import java.util.List;

import  com.ygqh.baby.ao.QueryInfo;
import  com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.ao.SettlementStatus;
import  com.ygqh.baby.po.AdminSettlement;

public interface AdminSettlementService {

    
    List<AdminSettlement> find();
	int findCount();
	AdminSettlement findById(Long id);
	int deleteSoft(Long[] ids);
	int deleteSoft(Long id);
	int save(AdminSettlement adminSettlement );
	int update(AdminSettlement adminSettlement);
	int saveOrUpdate(AdminSettlement adminSettlement);
	ResultSet<AdminSettlement> search(QueryInfo queryInfo,String q,Long id,String supplierName,String contractCode,Date startDate,Date endDate,SettlementStatus status);
	AdminSettlement findSettlementById(Long id);
	int findByPurchaseCode(String purchaseCode);
    
}
